package models

import (
	"github.com/goravel/framework/database/orm"
)

type UserRole struct {
	orm.Model
	UserId uint `json:"user_id"`
	RoleId uint `json:"role_id"`
	orm.Timestamps
}

func (r *UserRole) TableName() string {
	return "user_roles"
}
